import { createApp } from 'vue';
import { createPinia } from 'pinia';
import App from './App.vue';
import router from './router';
import './permission';
// 引入element-plus组件
import ElementPlus from './plugins/element';
// 使用svg 需要引入svg-icons-register 配置
import 'virtual:svg-icons-register';
import svg from '@/service/svg';

const app = createApp(App);
ElementPlus(app);
app.use(createPinia());
app.use(svg);
app.use(router);
app.mount('#app');
